package com.xhx.spring.service.postprocess;

import org.springframework.stereotype.Component;

/**
 * @program: xh-learn-record
 * @description:
 * @author: sch
 * @create: 2023-03-03 17:58
 **/
//@Component
public class MyBean {
    public MyBean() {
        System.out.println("MyBean constranct...");
    }

    public void initMethod() {
        System.out.println("MyBean initMethod...");
    }

    public void destroyMethod() {
        System.out.println("MyBean destroyMethod...");
    }
}
